.class public Lcom/example/m6wmr/MainActivity;
.super Landroid/app/Activity;
.source "MainActivity.java"

# interfaces
.implements Lcom/baidu/mapapi/search/geocode/OnGetGeoCoderResultListener;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "SetJavaScriptEnabled"
    }
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/MainActivity$MyLocationListener;
    }
.end annotation


# static fields
.field public static h:Landroid/os/Handler;

.field public static localVersion:I

.field public static me:Lcom/example/m6wmr/MainActivity;


# instance fields
.field private ListViewOrder:Landroid/widget/ListView;

.field private adapter:Ldata/MainIconAdapter;

.field address:Ljava/lang/String;

.field private advls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/AdvBean;",
            ">;"
        }
    .end annotation
.end field

.field private api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

.field private areaid:Ljava/lang/String;

.field broadcastReceiver:Landroid/content/BroadcastReceiver;

.field private cursor:Landroid/database/Cursor;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private gridview:Landroid/widget/GridView;

.field private helper:Ldbclass/DBOpenHelper;

.field m:Lmyapp/MyApp;

.field public mGeofenceClient:Lcom/baidu/location/GeofenceClient;

.field public mLocationClient:Lcom/baidu/location/LocationClient;

.field public mMyLocationListener:Lcom/example/m6wmr/MainActivity$MyLocationListener;

.field private mPoiSearch:Lcom/baidu/mapapi/search/poi/PoiSearch;

.field private mRefreshableView:Lmyview/RefreshableView;

.field mSearch:Lcom/baidu/mapapi/search/geocode/GeoCoder;

.field private mUpdateManager:LPlugclass/updateManager;

.field private mWebView:Landroid/webkit/WebView;

.field private maBeans:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/MainIconBean;",
            ">;"
        }
    .end annotation
.end field

.field private mcontext:Landroid/content/Context;

.field private mdls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ModleBean;",
            ">;"
        }
    .end annotation
.end field

.field private mdls2:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ModleBean2;",
            ">;"
        }
    .end annotation
.end field

.field mobilemodule:Ljava/lang/String;

.field private qu:Ljava/lang/String;

.field private refreshlock:Z

.field private savetongdao:Z

.field shoplayout:Landroid/widget/LinearLayout;

.field private shopls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field

.field private tempshopls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field

.field tile:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 130
    const/4 v0, 0x0

    sput-object v0, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    .line 140
    const/4 v0, 0x0

    sput v0, Lcom/example/m6wmr/MainActivity;->localVersion:I

    return-void
.end method

.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 122
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 123
    const-string v0, "0"

    iput-object v0, p0, Lcom/example/m6wmr/MainActivity;->areaid:Ljava/lang/String;

    .line 124
    iput-object v1, p0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    .line 135
    iput-object v1, p0, Lcom/example/m6wmr/MainActivity;->shoplayout:Landroid/widget/LinearLayout;

    .line 138
    iput-object v1, p0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    .line 141
    iput-boolean v2, p0, Lcom/example/m6wmr/MainActivity;->savetongdao:Z

    .line 143
    iput-object v1, p0, Lcom/example/m6wmr/MainActivity;->mPoiSearch:Lcom/baidu/mapapi/search/poi/PoiSearch;

    .line 144
    iput-object v1, p0, Lcom/example/m6wmr/MainActivity;->mSearch:Lcom/baidu/mapapi/search/geocode/GeoCoder;

    .line 147
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/MainActivity;->address:Ljava/lang/String;

    .line 148
    const-string v0, "0"

    iput-object v0, p0, Lcom/example/m6wmr/MainActivity;->mobilemodule:Ljava/lang/String;

    .line 155
    iput-boolean v2, p0, Lcom/example/m6wmr/MainActivity;->refreshlock:Z

    .line 1099
    new-instance v0, Lcom/example/m6wmr/MainActivity$1;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/MainActivity$1;-><init>(Lcom/example/m6wmr/MainActivity;)V

    iput-object v0, p0, Lcom/example/m6wmr/MainActivity;->broadcastReceiver:Landroid/content/BroadcastReceiver;

    .line 122
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/MainActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 146
    iput-object p1, p0, Lcom/example/m6wmr/MainActivity;->qu:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$1(Lcom/example/m6wmr/MainActivity;)Z
    .locals 1

    .prologue
    .line 155
    iget-boolean v0, p0, Lcom/example/m6wmr/MainActivity;->refreshlock:Z

    return v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/MainActivity;Z)V
    .locals 0

    .prologue
    .line 141
    iput-boolean p1, p0, Lcom/example/m6wmr/MainActivity;->savetongdao:Z

    return-void
.end method

.method static synthetic access$11(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 152
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$12(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 132
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 134
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->mdls2:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$14(Lcom/example/m6wmr/MainActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 123
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->areaid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/MainActivity;Z)V
    .locals 0

    .prologue
    .line 155
    iput-boolean p1, p0, Lcom/example/m6wmr/MainActivity;->refreshlock:Z

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6wmr/MainActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 129
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/MainActivity;)Lmyview/RefreshableView;
    .locals 1

    .prologue
    .line 154
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->mRefreshableView:Lmyview/RefreshableView;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 131
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->shopls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 131
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->tempshopls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/MainActivity;Landroid/widget/ListView;)V
    .locals 0

    .prologue
    .line 149
    iput-object p1, p0, Lcom/example/m6wmr/MainActivity;->ListViewOrder:Landroid/widget/ListView;

    return-void
.end method

.method static synthetic access$8(Lcom/example/m6wmr/MainActivity;)Landroid/widget/ListView;
    .locals 1

    .prologue
    .line 149
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->ListViewOrder:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/MainActivity;)Z
    .locals 1

    .prologue
    .line 141
    iget-boolean v0, p0, Lcom/example/m6wmr/MainActivity;->savetongdao:Z

    return v0
.end method

.method public static setListViewHeightBasedOnChildren(Landroid/widget/GridView;)V
    .locals 9
    .param p0, "listView"    # Landroid/widget/GridView;
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/4 v8, 0x0

    .line 868
    invoke-virtual {p0}, Landroid/widget/GridView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v2

    .line 869
    .local v2, "listAdapter":Landroid/widget/ListAdapter;
    if-nez v2, :cond_0

    .line 893
    :goto_0
    return-void

    .line 873
    :cond_0
    const/4 v0, 0x4

    .line 874
    .local v0, "col":I
    const/4 v5, 0x0

    .line 877
    .local v5, "totalHeight":I
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_1
    invoke-interface {v2}, Landroid/widget/ListAdapter;->getCount()I

    move-result v6

    if-lt v1, v6, :cond_1

    .line 886
    invoke-virtual {p0}, Landroid/widget/GridView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    .line 888
    .local v4, "params":Landroid/view/ViewGroup$LayoutParams;
    iput v5, v4, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 892
    invoke-virtual {p0, v4}, Landroid/widget/GridView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 879
    .end local v4    # "params":Landroid/view/ViewGroup$LayoutParams;
    :cond_1
    const/4 v6, 0x0

    invoke-interface {v2, v1, v6, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 880
    .local v3, "listItem":Landroid/view/View;
    invoke-virtual {v3, v8, v8}, Landroid/view/View;->measure(II)V

    .line 882
    invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I

    move-result v6

    invoke-virtual {p0}, Landroid/widget/GridView;->getVerticalSpacing()I

    move-result v7

    add-int/2addr v6, v7

    add-int/2addr v5, v6

    .line 877
    add-int/2addr v1, v0

    goto :goto_1
.end method

.method private setMainIconAdapter()V
    .locals 3

    .prologue
    .line 536
    new-instance v0, Ldata/MainIconAdapter;

    iget-object v1, p0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    iget-object v2, p0, Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Ldata/MainIconAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/example/m6wmr/MainActivity;->adapter:Ldata/MainIconAdapter;

    .line 537
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->gridview:Landroid/widget/GridView;

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    const/4 v2, 0x0

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setSelector(Landroid/graphics/drawable/Drawable;)V

    .line 538
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->gridview:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/example/m6wmr/MainActivity;->adapter:Ldata/MainIconAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 540
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->gridview:Landroid/widget/GridView;

    invoke-static {v0}, Lcom/example/m6wmr/MainActivity;->setListViewHeightBasedOnChildren(Landroid/widget/GridView;)V

    .line 542
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->gridview:Landroid/widget/GridView;

    new-instance v1, Lcom/example/m6wmr/MainActivity$6;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/MainActivity$6;-><init>(Lcom/example/m6wmr/MainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 597
    return-void
.end method

.method public static seth(Landroid/widget/ListView;)V
    .locals 7
    .param p0, "listView"    # Landroid/widget/ListView;

    .prologue
    const/4 v6, 0x0

    .line 1187
    if-nez p0, :cond_1

    .line 1204
    :cond_0
    :goto_0
    return-void

    .line 1189
    :cond_1
    invoke-virtual {p0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    .line 1190
    .local v1, "listAdapter":Landroid/widget/ListAdapter;
    if-eqz v1, :cond_0

    .line 1194
    const/4 v4, 0x0

    .line 1195
    .local v4, "totalHeight":I
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v5

    if-lt v0, v5, :cond_2

    .line 1200
    invoke-virtual {p0}, Landroid/widget/ListView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    .line 1202
    .local v3, "params":Landroid/view/ViewGroup$LayoutParams;
    invoke-virtual {p0}, Landroid/widget/ListView;->getDividerHeight()I

    move-result v5

    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v6

    add-int/lit8 v6, v6, -0x1

    mul-int/2addr v5, v6

    add-int/2addr v5, v4

    .line 1201
    iput v5, v3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 1203
    invoke-virtual {p0, v3}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 1196
    .end local v3    # "params":Landroid/view/ViewGroup$LayoutParams;
    :cond_2
    const/4 v5, 0x0

    invoke-interface {v1, v0, v5, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 1197
    .local v2, "listItem":Landroid/view/View;
    invoke-virtual {v2, v6, v6}, Landroid/view/View;->measure(II)V

    .line 1198
    invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I

    move-result v5

    add-int/2addr v4, v5

    .line 1195
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method public static seth2(Landroid/widget/ListView;)V
    .locals 7
    .param p0, "listView"    # Landroid/widget/ListView;

    .prologue
    const/4 v6, 0x0

    .line 511
    if-nez p0, :cond_1

    .line 531
    :cond_0
    :goto_0
    return-void

    .line 513
    :cond_1
    invoke-virtual {p0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    .line 514
    .local v1, "listAdapter":Landroid/widget/ListAdapter;
    if-eqz v1, :cond_0

    .line 518
    const/4 v4, 0x0

    .line 519
    .local v4, "totalHeight":I
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v5

    if-lt v0, v5, :cond_2

    .line 527
    invoke-virtual {p0}, Landroid/widget/ListView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    .line 529
    .local v3, "params":Landroid/view/ViewGroup$LayoutParams;
    invoke-virtual {p0}, Landroid/widget/ListView;->getDividerHeight()I

    move-result v5

    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v6

    add-int/lit8 v6, v6, -0x1

    mul-int/2addr v5, v6

    add-int/2addr v5, v4

    .line 528
    iput v5, v3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 530
    invoke-virtual {p0, v3}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 520
    .end local v3    # "params":Landroid/view/ViewGroup$LayoutParams;
    :cond_2
    const/4 v5, 0x1

    if-gt v0, v5, :cond_3

    .line 521
    const/4 v5, 0x0

    invoke-interface {v1, v0, v5, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 522
    .local v2, "listItem":Landroid/view/View;
    invoke-virtual {v2, v6, v6}, Landroid/view/View;->measure(II)V

    .line 523
    invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I

    move-result v5

    add-int/2addr v4, v5

    .line 519
    .end local v2    # "listItem":Landroid/view/View;
    :cond_3
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method


# virtual methods
.method public Inishop()V
    .locals 4

    .prologue
    .line 1116
    invoke-virtual {p0}, Lcom/example/m6wmr/MainActivity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    .line 1117
    .local v0, "inflater":Landroid/view/LayoutInflater;
    const v2, 0x7f03007c

    const/4 v3, 0x0

    invoke-virtual {v0, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 1119
    .local v1, "view":Landroid/view/View;
    iget-object v2, p0, Lcom/example/m6wmr/MainActivity;->shoplayout:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 1121
    return-void
.end method

.method public bindbtn()V
    .locals 3

    .prologue
    .line 1080
    const v2, 0x7f0c0016

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/example/location/BottomMenu;

    .line 1081
    .local v1, "menu":Lcom/example/location/BottomMenu;
    const-string v2, "index"

    invoke-virtual {v1, v2}, Lcom/example/location/BottomMenu;->SetOn(Ljava/lang/String;)V

    .line 1083
    const v2, 0x7f0c00d6

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 1085
    .local v0, "addressname":Landroid/widget/TextView;
    new-instance v2, Lcom/example/m6wmr/MainActivity$13;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/MainActivity$13;-><init>(Lcom/example/m6wmr/MainActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1096
    return-void
.end method

.method public getShopSource()Z
    .locals 1

    .prologue
    .line 943
    new-instance v0, Lcom/example/m6wmr/MainActivity$12;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/MainActivity$12;-><init>(Lcom/example/m6wmr/MainActivity;)V

    .line 1074
    invoke-virtual {v0}, Lcom/example/m6wmr/MainActivity$12;->start()V

    .line 1075
    const/4 v0, 0x0

    return v0
.end method

.method public getorderlist()Z
    .locals 1

    .prologue
    .line 1281
    new-instance v0, Lcom/example/m6wmr/MainActivity$16;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/MainActivity$16;-><init>(Lcom/example/m6wmr/MainActivity;)V

    .line 1336
    invoke-virtual {v0}, Lcom/example/m6wmr/MainActivity$16;->start()V

    .line 1337
    const/4 v0, 0x0

    return v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 21
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 160
    invoke-super/range {p0 .. p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 161
    const v18, 0x7f030025

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->setContentView(I)V

    .line 163
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v18

    check-cast v18, Lmyapp/MyApp;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    .line 164
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v4

    .line 165
    .local v4, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    const v18, 0x7f0c00dd

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Landroid/widget/GridView;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->gridview:Landroid/widget/GridView;

    .line 166
    new-instance v18, Ljava/util/ArrayList;

    invoke-direct/range {v18 .. v18}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;

    .line 168
    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 169
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    const/16 v19, 0x0

    invoke-virtual/range {v18 .. v19}, Lmyapp/MyApp;->setsearch(Z)V

    .line 170
    move-object/from16 v0, p0

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    .line 171
    sput-object p0, Lcom/example/m6wmr/MainActivity;->me:Lcom/example/m6wmr/MainActivity;

    .line 180
    const/high16 v18, 0x7f0c0000

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v17

    check-cast v17, Landroid/widget/LinearLayout;

    .line 181
    .local v17, "top":Landroid/widget/LinearLayout;
    const v18, 0x7f0c00d9

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ImageView;

    .line 182
    .local v9, "iv":Landroid/widget/ImageView;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v18

    const-string v19, "1"

    invoke-virtual/range {v18 .. v19}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v18

    if-eqz v18, :cond_0

    .line 183
    const v18, 0x7f070026

    invoke-virtual/range {v17 .. v18}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 184
    const v18, 0x7f02001a

    move/from16 v0, v18

    invoke-virtual {v9, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 187
    :cond_0
    new-instance v18, Lcom/baidu/location/LocationClient;

    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v19

    invoke-direct/range {v18 .. v19}, Lcom/baidu/location/LocationClient;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mLocationClient:Lcom/baidu/location/LocationClient;

    .line 188
    new-instance v18, Lcom/example/m6wmr/MainActivity$MyLocationListener;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$MyLocationListener;-><init>(Lcom/example/m6wmr/MainActivity;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mMyLocationListener:Lcom/example/m6wmr/MainActivity$MyLocationListener;

    .line 189
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mLocationClient:Lcom/baidu/location/LocationClient;

    move-object/from16 v18, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mMyLocationListener:Lcom/example/m6wmr/MainActivity$MyLocationListener;

    move-object/from16 v19, v0

    invoke-virtual/range {v18 .. v19}, Lcom/baidu/location/LocationClient;->registerLocationListener(Lcom/baidu/location/BDLocationListener;)V

    .line 191
    new-instance v11, Lcom/baidu/location/LocationClientOption;

    invoke-direct {v11}, Lcom/baidu/location/LocationClientOption;-><init>()V

    .line 195
    .local v11, "option":Lcom/baidu/location/LocationClientOption;
    sget-object v18, Lcom/baidu/location/LocationClientOption$LocationMode;->Hight_Accuracy:Lcom/baidu/location/LocationClientOption$LocationMode;

    move-object/from16 v0, v18

    invoke-virtual {v11, v0}, Lcom/baidu/location/LocationClientOption;->setLocationMode(Lcom/baidu/location/LocationClientOption$LocationMode;)V

    .line 196
    const-string v18, "bd09ll"

    move-object/from16 v0, v18

    invoke-virtual {v11, v0}, Lcom/baidu/location/LocationClientOption;->setCoorType(Ljava/lang/String;)V

    .line 197
    const v18, 0xf4240

    move/from16 v0, v18

    invoke-virtual {v11, v0}, Lcom/baidu/location/LocationClientOption;->setScanSpan(I)V

    .line 198
    const/16 v18, 0x1

    move/from16 v0, v18

    invoke-virtual {v11, v0}, Lcom/baidu/location/LocationClientOption;->setIsNeedAddress(Z)V

    .line 199
    const/16 v18, 0x1

    move/from16 v0, v18

    invoke-virtual {v11, v0}, Lcom/baidu/location/LocationClientOption;->setNeedDeviceDirect(Z)V

    .line 201
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mLocationClient:Lcom/baidu/location/LocationClient;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    invoke-virtual {v0, v11}, Lcom/baidu/location/LocationClient;->setLocOption(Lcom/baidu/location/LocationClientOption;)V

    .line 202
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mLocationClient:Lcom/baidu/location/LocationClient;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Lcom/baidu/location/LocationClient;->start()V

    .line 204
    new-instance v18, Ldbclass/DBOpenHelper;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v19, v0

    invoke-direct/range {v18 .. v19}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->helper:Ldbclass/DBOpenHelper;

    .line 205
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->helper:Ldbclass/DBOpenHelper;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Ldbclass/DBOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v18

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 206
    new-instance v18, Ljava/util/ArrayList;

    invoke-direct/range {v18 .. v18}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->shopls:Ljava/util/List;

    .line 207
    new-instance v18, Ljava/util/ArrayList;

    invoke-direct/range {v18 .. v18}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->tempshopls:Ljava/util/List;

    .line 208
    new-instance v18, Ljava/util/ArrayList;

    invoke-direct/range {v18 .. v18}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    .line 209
    new-instance v18, Ljava/util/ArrayList;

    invoke-direct/range {v18 .. v18}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mdls:Ljava/util/List;

    .line 210
    new-instance v18, Ljava/util/ArrayList;

    invoke-direct/range {v18 .. v18}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mdls2:Ljava/util/List;

    .line 212
    const-string v18, "phone"

    move-object/from16 v0, p0

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v16

    .line 211
    check-cast v16, Landroid/telephony/TelephonyManager;

    .line 213
    .local v16, "telephonyManager":Landroid/telephony/TelephonyManager;
    invoke-virtual/range {v16 .. v16}, Landroid/telephony/TelephonyManager;->getDeviceId()Ljava/lang/String;

    move-result-object v8

    .line 214
    .local v8, "imei":Ljava/lang/String;
    const-string v18, "userInfo"

    const/16 v19, 0x0

    move-object/from16 v0, p0

    move-object/from16 v1, v18

    move/from16 v2, v19

    invoke-virtual {v0, v1, v2}, Lcom/example/m6wmr/MainActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v14

    .line 216
    .local v14, "preferences":Landroid/content/SharedPreferences;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    invoke-virtual {v0, v8}, Lmyapp/MyApp;->setmachine(Ljava/lang/String;)V

    .line 218
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v5

    .line 219
    .local v5, "context":Landroid/content/Context;
    const v18, 0x7f0c00d8

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Lmyview/RefreshableView;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mRefreshableView:Lmyview/RefreshableView;

    .line 221
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mRefreshableView:Lmyview/RefreshableView;

    move-object/from16 v18, v0

    new-instance v19, Lcom/example/m6wmr/MainActivity$2;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$2;-><init>(Lcom/example/m6wmr/MainActivity;)V

    invoke-virtual/range {v18 .. v19}, Lmyview/RefreshableView;->setRefreshListener(Lmyview/RefreshableView$RefreshListener;)V

    .line 235
    invoke-static {}, Lcom/igexin/sdk/PushManager;->getInstance()Lcom/igexin/sdk/PushManager;

    move-result-object v18

    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v19

    invoke-virtual/range {v18 .. v19}, Lcom/igexin/sdk/PushManager;->initialize(Landroid/content/Context;)V

    .line 238
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v18

    invoke-static/range {v18 .. v18}, Lcom/baidu/mapapi/SDKInitializer;->initialize(Landroid/content/Context;)V

    .line 239
    invoke-static {}, Lcom/baidu/mapapi/search/poi/PoiSearch;->newInstance()Lcom/baidu/mapapi/search/poi/PoiSearch;

    move-result-object v18

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mPoiSearch:Lcom/baidu/mapapi/search/poi/PoiSearch;

    .line 240
    new-instance v13, Lcom/example/m6wmr/MainActivity$3;

    move-object/from16 v0, p0

    invoke-direct {v13, v0}, Lcom/example/m6wmr/MainActivity$3;-><init>(Lcom/example/m6wmr/MainActivity;)V

    .line 266
    .local v13, "poiListener":Lcom/baidu/mapapi/search/poi/OnGetPoiSearchResultListener;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mPoiSearch:Lcom/baidu/mapapi/search/poi/PoiSearch;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    invoke-virtual {v0, v13}, Lcom/baidu/mapapi/search/poi/PoiSearch;->setOnGetPoiSearchResultListener(Lcom/baidu/mapapi/search/poi/OnGetPoiSearchResultListener;)V

    .line 268
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mPoiSearch:Lcom/baidu/mapapi/search/poi/PoiSearch;

    move-object/from16 v18, v0

    new-instance v19, Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;

    invoke-direct/range {v19 .. v19}, Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;-><init>()V

    .line 269
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v20, v0

    invoke-virtual/range {v20 .. v20}, Lmyapp/MyApp;->getCity()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;->city(Ljava/lang/String;)Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;

    move-result-object v19

    .line 270
    const-string v20, "\u5927\u697c"

    invoke-virtual/range {v19 .. v20}, Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;->keyword(Ljava/lang/String;)Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;

    move-result-object v19

    .line 271
    const/16 v20, 0xf

    invoke-virtual/range {v19 .. v20}, Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;->pageNum(I)Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;

    move-result-object v19

    .line 268
    invoke-virtual/range {v18 .. v19}, Lcom/baidu/mapapi/search/poi/PoiSearch;->searchInCity(Lcom/baidu/mapapi/search/poi/PoiCitySearchOption;)Z

    .line 273
    invoke-static {}, Lcom/baidu/mapapi/search/geocode/GeoCoder;->newInstance()Lcom/baidu/mapapi/search/geocode/GeoCoder;

    move-result-object v18

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mSearch:Lcom/baidu/mapapi/search/geocode/GeoCoder;

    .line 274
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mSearch:Lcom/baidu/mapapi/search/geocode/GeoCoder;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/search/geocode/GeoCoder;->setOnGetGeoCodeResultListener(Lcom/baidu/mapapi/search/geocode/OnGetGeoCoderResultListener;)V

    .line 277
    const v18, 0x7f0c00da

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/TextView;

    .line 279
    .local v10, "notic":Landroid/widget/TextView;
    new-instance v18, Lcom/example/m6wmr/MainActivity$4;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$4;-><init>(Lcom/example/m6wmr/MainActivity;)V

    move-object/from16 v0, v18

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 291
    const-string v18, "uid"

    const-string v19, ""

    move-object/from16 v0, v18

    move-object/from16 v1, v19

    invoke-interface {v14, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 295
    .local v3, "account":Ljava/lang/String;
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v15

    .line 298
    .local v15, "resource":Landroid/content/res/Resources;
    :try_start_0
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v18

    .line 299
    invoke-virtual/range {v18 .. v18}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v18

    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getPackageName()Ljava/lang/String;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v18 .. v20}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v12

    .line 300
    .local v12, "packageInfo":Landroid/content/pm/PackageInfo;
    iget v0, v12, Landroid/content/pm/PackageInfo;->versionCode:I

    move/from16 v18, v0

    sput v18, Lcom/example/m6wmr/MainActivity;->localVersion:I
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    .line 305
    .end local v12    # "packageInfo":Landroid/content/pm/PackageInfo;
    :goto_0
    const-string v18, "\u66f4\u65b0"

    new-instance v19, Ljava/lang/StringBuilder;

    sget v20, Lcom/example/m6wmr/MainActivity;->localVersion:I

    invoke-static/range {v20 .. v20}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v20

    invoke-direct/range {v19 .. v20}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual/range {v19 .. v19}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v19

    invoke-static/range {v18 .. v19}, Lmyapp/Mylog;->v(Ljava/lang/String;Ljava/lang/String;)V

    .line 306
    new-instance v18, LPlugclass/updateManager;

    sget v19, Lcom/example/m6wmr/MainActivity;->localVersion:I

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    move/from16 v2, v19

    invoke-direct {v0, v1, v2}, LPlugclass/updateManager;-><init>(Landroid/content/Context;I)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mUpdateManager:LPlugclass/updateManager;

    .line 307
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mUpdateManager:LPlugclass/updateManager;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, LPlugclass/updateManager;->checkUpdateInfo()V

    .line 309
    new-instance v18, Lcom/example/m6wmr/MainActivity$5;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$5;-><init>(Lcom/example/m6wmr/MainActivity;)V

    sput-object v18, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    .line 489
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->settoparea()V

    .line 491
    invoke-direct/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->setMainIconAdapter()V

    .line 493
    const v18, 0x7f0c00e2

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Landroid/widget/LinearLayout;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->shoplayout:Landroid/widget/LinearLayout;

    .line 495
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->bindbtn()V

    .line 496
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/MainActivity;->getorderlist()Z

    .line 497
    new-instance v7, Landroid/content/IntentFilter;

    const-string v18, "jason.broadcast.action"

    move-object/from16 v0, v18

    invoke-direct {v7, v0}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    .line 498
    .local v7, "filter":Landroid/content/IntentFilter;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->broadcastReceiver:Landroid/content/BroadcastReceiver;

    move-object/from16 v18, v0

    move-object/from16 v0, p0

    move-object/from16 v1, v18

    invoke-virtual {v0, v1, v7}, Lcom/example/m6wmr/MainActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 501
    return-void

    .line 301
    .end local v7    # "filter":Landroid/content/IntentFilter;
    :catch_0
    move-exception v6

    .line 302
    .local v6, "e":Landroid/content/pm/PackageManager$NameNotFoundException;
    invoke-virtual {v6}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 1172
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->mLocationClient:Lcom/baidu/location/LocationClient;

    invoke-virtual {v0}, Lcom/baidu/location/LocationClient;->stop()V

    .line 1173
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 1174
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    if-eqz v0, :cond_0

    .line 1175
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 1177
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    if-eqz v0, :cond_1

    .line 1178
    iget-object v0, p0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 1180
    :cond_1
    return-void
.end method

.method public onGetGeoCodeResult(Lcom/baidu/mapapi/search/geocode/GeoCodeResult;)V
    .locals 0
    .param p1, "arg0"    # Lcom/baidu/mapapi/search/geocode/GeoCodeResult;

    .prologue
    .line 1247
    return-void
.end method

.method public onGetReverseGeoCodeResult(Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;)V
    .locals 5
    .param p1, "result"    # Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;

    .prologue
    .line 1252
    if-eqz p1, :cond_0

    iget-object v2, p1, Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;->error:Lcom/baidu/mapapi/search/core/SearchResult$ERRORNO;

    sget-object v3, Lcom/baidu/mapapi/search/core/SearchResult$ERRORNO;->NO_ERROR:Lcom/baidu/mapapi/search/core/SearchResult$ERRORNO;

    if-eq v2, v3, :cond_2

    .line 1253
    :cond_0
    const-string v2, "\u62b1\u6b49\uff0c\u672a\u80fd\u627e\u5230\u7ed3\u679c"

    const/4 v3, 0x1

    invoke-static {p0, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    .line 1254
    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 1275
    :cond_1
    :goto_0
    return-void

    .line 1260
    :cond_2
    :try_start_0
    invoke-virtual {p1}, Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;->getPoiList()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_1

    invoke-virtual {p1}, Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;->getPoiList()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-eqz v2, :cond_1

    .line 1264
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    invoke-virtual {p1}, Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;->getPoiList()Ljava/util/List;

    move-result-object v2

    const/4 v4, 0x0

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/baidu/mapapi/search/core/PoiInfo;

    iget-object v2, v2, Lcom/baidu/mapapi/search/core/PoiInfo;->name:Ljava/lang/String;

    invoke-virtual {v3, v2}, Lmyapp/MyApp;->setMapname(Ljava/lang/String;)V

    .line 1265
    invoke-virtual {p1}, Lcom/baidu/mapapi/search/geocode/ReverseGeoCodeResult;->getPoiList()Ljava/util/List;

    move-result-object v2

    const/4 v3, 0x0

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/baidu/mapapi/search/core/PoiInfo;

    iget-object v2, v2, Lcom/baidu/mapapi/search/core/PoiInfo;->name:Ljava/lang/String;

    sput-object v2, Lmyapp/MyApp;->mapnameParticular:Ljava/lang/String;

    .line 1267
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    .line 1268
    .local v1, "msg1":Landroid/os/Message;
    const/16 v2, 0x6f

    iput v2, v1, Landroid/os/Message;->arg1:I

    .line 1269
    sget-object v2, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    invoke-virtual {v2, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_0
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 1272
    .end local v1    # "msg1":Landroid/os/Message;
    :catch_0
    move-exception v0

    .line 1273
    .local v0, "e":Ljava/lang/NullPointerException;
    invoke-virtual {v0}, Ljava/lang/NullPointerException;->printStackTrace()V

    goto :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    .line 1208
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    .line 1209
    invoke-virtual {p2}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_0

    .line 1210
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 1211
    const-string v1, "\u63d0\u793a"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1212
    const-string v1, "\u786e\u5b9a\u9000\u51fa"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1213
    const-string v1, "\u786e\u5b9a"

    .line 1214
    new-instance v2, Lcom/example/m6wmr/MainActivity$14;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/MainActivity$14;-><init>(Lcom/example/m6wmr/MainActivity;)V

    .line 1213
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1230
    const-string v1, "\u53d6\u6d88"

    .line 1231
    new-instance v2, Lcom/example/m6wmr/MainActivity$15;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/MainActivity$15;-><init>(Lcom/example/m6wmr/MainActivity;)V

    .line 1230
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 1237
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 1238
    const/4 v0, 0x1

    .line 1240
    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method protected onNewIntent(Landroid/content/Intent;)V
    .locals 0
    .param p1, "intent"    # Landroid/content/Intent;

    .prologue
    .line 1130
    invoke-super {p0, p1}, Landroid/app/Activity;->onNewIntent(Landroid/content/Intent;)V

    .line 1131
    invoke-virtual {p0, p1}, Lcom/example/m6wmr/MainActivity;->setIntent(Landroid/content/Intent;)V

    .line 1132
    return-void
.end method

.method public onStart()V
    .locals 0

    .prologue
    .line 1125
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 1126
    return-void
.end method

.method public setbaidutosiet()Z
    .locals 1

    .prologue
    .line 896
    new-instance v0, Lcom/example/m6wmr/MainActivity$11;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/MainActivity$11;-><init>(Lcom/example/m6wmr/MainActivity;)V

    .line 937
    invoke-virtual {v0}, Lcom/example/m6wmr/MainActivity$11;->start()V

    .line 938
    const/4 v0, 0x0

    return v0
.end method

.method public settoparea()V
    .locals 33

    .prologue
    .line 601
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Ljava/util/List;->clear()V

    .line 603
    :try_start_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->helper:Ldbclass/DBOpenHelper;

    move-object/from16 v29, v0

    invoke-virtual/range {v29 .. v29}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v29

    .line 604
    const-string v30, "select * from appadv where type=\'2\' "

    const/16 v31, 0x0

    .line 603
    invoke-virtual/range {v29 .. v31}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v29

    move-object/from16 v0, v29

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    .line 605
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    if-eqz v29, :cond_0

    .line 606
    :goto_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Landroid/database/Cursor;->moveToNext()Z

    move-result v29

    if-nez v29, :cond_8

    .line 629
    new-instance v7, Lbean/MainIconBean;

    invoke-direct {v7}, Lbean/MainIconBean;-><init>()V

    .line 630
    .local v7, "bean":Lbean/MainIconBean;
    const-string v29, "\u66f4\u591a"

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setName(Ljava/lang/String;)V

    .line 631
    const-string v29, ""

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setImgurl(Ljava/lang/String;)V

    .line 633
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 635
    const-string v29, "Marinactivity"

    const-string v30, "\u8f6c\u6362\u5e7f\u544a\u6570\u636e\u4e3a\u7c7b\u6570\u636e"

    invoke-static/range {v29 .. v30}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 640
    .end local v7    # "bean":Lbean/MainIconBean;
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    if-eqz v29, :cond_1

    .line 641
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Landroid/database/Cursor;->close()V

    .line 650
    :cond_1
    :goto_1
    const v29, 0x7f0c00dc

    move-object/from16 v0, p0

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v27

    check-cast v27, Landroid/widget/LinearLayout;

    .line 651
    .local v27, "toparea2":Landroid/widget/LinearLayout;
    const v29, 0x7f0c00db

    move-object/from16 v0, p0

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v26

    check-cast v26, Landroid/widget/LinearLayout;

    .line 652
    .local v26, "toparea1":Landroid/widget/LinearLayout;
    const v29, 0x7f0c00d7

    move-object/from16 v0, p0

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v23

    check-cast v23, Landroid/widget/LinearLayout;

    .line 653
    .local v23, "search":Landroid/widget/LinearLayout;
    new-instance v29, Lcom/example/m6wmr/MainActivity$7;

    move-object/from16 v0, v29

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$7;-><init>(Lcom/example/m6wmr/MainActivity;)V

    move-object/from16 v0, v23

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 664
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Ljava/util/List;->size()I

    move-result v29

    const/16 v30, 0x4

    move/from16 v0, v29

    move/from16 v1, v30

    if-ge v0, v1, :cond_2

    .line 666
    const/16 v29, 0x8

    move-object/from16 v0, v27

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 668
    :cond_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Ljava/util/List;->size()I

    move-result v18

    .line 670
    .local v18, "maxlenth":I
    const/16 v29, 0x6

    move/from16 v0, v18

    move/from16 v1, v29

    if-le v0, v1, :cond_3

    const/16 v18, 0x6

    .line 671
    :cond_3
    const/4 v14, 0x0

    .local v14, "i":I
    :goto_2
    const/16 v29, 0x7

    move/from16 v0, v29

    if-lt v14, v0, :cond_a

    .line 739
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v29, v0

    const v30, 0x7f03006e

    const/16 v31, 0x0

    invoke-static/range {v29 .. v31}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v24

    .line 740
    .local v24, "tempview":Landroid/view/View;
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    .line 741
    const/16 v29, -0x1

    const/16 v30, -0x1

    const/high16 v31, 0x3f800000    # 1.0f

    .line 740
    move-object/from16 v0, v17

    move/from16 v1, v29

    move/from16 v2, v30

    move/from16 v3, v31

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    .line 742
    .local v17, "lp":Landroid/widget/LinearLayout$LayoutParams;
    const v29, 0x7f0c0013

    move-object/from16 v0, v24

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v25

    check-cast v25, Landroid/widget/TextView;

    .line 743
    .local v25, "textView1":Landroid/widget/TextView;
    const-string v29, "\u66f4\u591a"

    move-object/from16 v0, v25

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 745
    const v29, 0x7f0c000a

    move-object/from16 v0, v24

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v16

    .line 744
    check-cast v16, Landroid/widget/ImageView;

    .line 746
    .local v16, "imageView1":Landroid/widget/ImageView;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v29, v0

    invoke-virtual/range {v29 .. v29}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v22

    .line 748
    .local v22, "resources":Landroid/content/res/Resources;
    const v29, 0x7f020137

    move-object/from16 v0, v22

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v8

    .line 749
    .local v8, "btnDrawable":Landroid/graphics/drawable/Drawable;
    move-object/from16 v0, v16

    invoke-virtual {v0, v8}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 750
    const/16 v29, 0x3

    move/from16 v0, v18

    move/from16 v1, v29

    if-le v0, v1, :cond_f

    .line 751
    move-object/from16 v0, v27

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 756
    :goto_3
    new-instance v29, Lcom/example/m6wmr/MainActivity$9;

    move-object/from16 v0, v29

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$9;-><init>(Lcom/example/m6wmr/MainActivity;)V

    move-object/from16 v0, v24

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 777
    const/4 v12, 0x0

    .line 778
    .local v12, "checkt1count":I
    const/4 v10, 0x0

    .line 779
    .local v10, "check2count":I
    const/4 v9, 0x0

    .line 781
    .local v9, "c":I
    const v29, 0x7f0c00de

    move-object/from16 v0, p0

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v20

    check-cast v20, Landroid/widget/LinearLayout;

    .line 782
    .local v20, "moduletop2":Landroid/widget/LinearLayout;
    const v29, 0x7f0c00df

    move-object/from16 v0, p0

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/MainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v21

    check-cast v21, Landroid/widget/LinearLayout;

    .line 785
    .local v21, "moduletop3":Landroid/widget/LinearLayout;
    :try_start_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->helper:Ldbclass/DBOpenHelper;

    move-object/from16 v29, v0

    invoke-virtual/range {v29 .. v29}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v29

    const-string v30, "select * from ztlist limit 0,4"

    const/16 v31, 0x0

    invoke-virtual/range {v29 .. v31}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v29

    move-object/from16 v0, v29

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    .line 787
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    if-eqz v29, :cond_4

    .line 788
    :goto_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    move-result v29

    if-nez v29, :cond_10

    .line 849
    :cond_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    if-eqz v29, :cond_5

    .line 850
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Landroid/database/Cursor;->close()V

    .line 854
    :cond_5
    :goto_5
    if-nez v10, :cond_6

    .line 855
    const/16 v29, 0x8

    move-object/from16 v0, v20

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 857
    :cond_6
    const/16 v29, 0x2

    move/from16 v0, v29

    if-le v10, v0, :cond_7

    .line 858
    const/16 v29, 0x0

    move-object/from16 v0, v21

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 861
    :cond_7
    return-void

    .line 607
    .end local v8    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    .end local v9    # "c":I
    .end local v10    # "check2count":I
    .end local v12    # "checkt1count":I
    .end local v14    # "i":I
    .end local v16    # "imageView1":Landroid/widget/ImageView;
    .end local v17    # "lp":Landroid/widget/LinearLayout$LayoutParams;
    .end local v18    # "maxlenth":I
    .end local v20    # "moduletop2":Landroid/widget/LinearLayout;
    .end local v21    # "moduletop3":Landroid/widget/LinearLayout;
    .end local v22    # "resources":Landroid/content/res/Resources;
    .end local v23    # "search":Landroid/widget/LinearLayout;
    .end local v24    # "tempview":Landroid/view/View;
    .end local v25    # "textView1":Landroid/widget/TextView;
    .end local v26    # "toparea1":Landroid/widget/LinearLayout;
    .end local v27    # "toparea2":Landroid/widget/LinearLayout;
    :cond_8
    :try_start_2
    new-instance v5, Lbean/AdvBean;

    invoke-direct {v5}, Lbean/AdvBean;-><init>()V

    .line 608
    .local v5, "bb":Lbean/AdvBean;
    new-instance v7, Lbean/MainIconBean;

    invoke-direct {v7}, Lbean/MainIconBean;-><init>()V

    .line 609
    .restart local v7    # "bean":Lbean/MainIconBean;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "id"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getInt(I)I

    move-result v4

    .line 610
    .local v4, "_id":I
    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v5, v0}, Lbean/AdvBean;->SetId(Ljava/lang/String;)V

    .line 611
    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setId(Ljava/lang/String;)V

    .line 613
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "activity"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setActivity(Ljava/lang/String;)V

    .line 614
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "img"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setImgurl(Ljava/lang/String;)V

    .line 615
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "name"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setName(Ljava/lang/String;)V

    .line 616
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "param"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setParam(Ljava/lang/String;)V

    .line 617
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "type"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v7, v0}, Lbean/MainIconBean;->setType(Ljava/lang/String;)V

    .line 619
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "activity"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v5, v0}, Lbean/AdvBean;->SetAct(Ljava/lang/String;)V

    .line 620
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "img"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v5, v0}, Lbean/AdvBean;->SetImg(Ljava/lang/String;)V

    .line 621
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "name"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v5, v0}, Lbean/AdvBean;->SetName(Ljava/lang/String;)V

    .line 622
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "param"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v5, v0}, Lbean/AdvBean;->SetParam(Ljava/lang/String;)V

    .line 623
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "type"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    invoke-virtual {v5, v0}, Lbean/AdvBean;->SetType(Ljava/lang/String;)V

    .line 624
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 626
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->maBeans:Ljava/util/List;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto/16 :goto_0

    .line 637
    .end local v4    # "_id":I
    .end local v5    # "bb":Lbean/AdvBean;
    .end local v7    # "bean":Lbean/MainIconBean;
    :catch_0
    move-exception v13

    .line 638
    .local v13, "e":Ljava/lang/Exception;
    :try_start_3
    invoke-virtual {v13}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 640
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    if-eqz v29, :cond_1

    .line 641
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Landroid/database/Cursor;->close()V

    goto/16 :goto_1

    .line 639
    .end local v13    # "e":Ljava/lang/Exception;
    :catchall_0
    move-exception v29

    .line 640
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    if-eqz v30, :cond_9

    .line 641
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    invoke-interface/range {v30 .. v30}, Landroid/database/Cursor;->close()V

    .line 643
    :cond_9
    throw v29

    .line 672
    .restart local v14    # "i":I
    .restart local v18    # "maxlenth":I
    .restart local v23    # "search":Landroid/widget/LinearLayout;
    .restart local v26    # "toparea1":Landroid/widget/LinearLayout;
    .restart local v27    # "toparea2":Landroid/widget/LinearLayout;
    :cond_a
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v29, v0

    const v30, 0x7f03006e

    .line 673
    const/16 v31, 0x0

    .line 672
    invoke-static/range {v29 .. v31}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v24

    .line 674
    .restart local v24    # "tempview":Landroid/view/View;
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    .line 675
    const/16 v29, -0x1

    const/16 v30, -0x1

    const/high16 v31, 0x3f800000    # 1.0f

    .line 674
    move-object/from16 v0, v17

    move/from16 v1, v29

    move/from16 v2, v30

    move/from16 v3, v31

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    .line 676
    .restart local v17    # "lp":Landroid/widget/LinearLayout$LayoutParams;
    move-object/from16 v0, v24

    invoke-virtual {v0, v14}, Landroid/view/View;->setId(I)V

    .line 677
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Ljava/util/List;->size()I

    move-result v29

    move/from16 v0, v29

    if-ge v14, v0, :cond_d

    .line 679
    const v29, 0x7f0c0013

    move-object/from16 v0, v24

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v25

    .line 678
    check-cast v25, Landroid/widget/TextView;

    .line 680
    .restart local v25    # "textView1":Landroid/widget/TextView;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    invoke-interface {v0, v14}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lbean/AdvBean;

    .line 681
    .local v6, "bbc":Lbean/AdvBean;
    invoke-virtual {v6}, Lbean/AdvBean;->GetName()Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v25

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 683
    const v29, 0x7f0c000a

    move-object/from16 v0, v24

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v16

    .line 682
    check-cast v16, Landroid/widget/ImageView;

    .line 684
    .restart local v16    # "imageView1":Landroid/widget/ImageView;
    new-instance v15, LPlugclass/ImageLoader;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    invoke-direct {v15, v0}, LPlugclass/ImageLoader;-><init>(Landroid/content/Context;)V

    .line 685
    .local v15, "imageLoader":LPlugclass/ImageLoader;
    new-instance v29, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v30, v0

    invoke-virtual/range {v30 .. v30}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v30

    invoke-static/range {v30 .. v30}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v30

    invoke-direct/range {v29 .. v30}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6}, Lbean/AdvBean;->GetImg()Ljava/lang/String;

    move-result-object v30

    invoke-virtual/range {v29 .. v30}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v29

    invoke-virtual/range {v29 .. v29}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    move-object/from16 v1, v16

    invoke-virtual {v15, v0, v1}, LPlugclass/ImageLoader;->DisplayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 688
    const/16 v29, 0x3

    move/from16 v0, v29

    if-le v14, v0, :cond_c

    .line 689
    move-object/from16 v0, v27

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 695
    :cond_b
    :goto_6
    new-instance v29, Lcom/example/m6wmr/MainActivity$8;

    move-object/from16 v0, v29

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$8;-><init>(Lcom/example/m6wmr/MainActivity;)V

    move-object/from16 v0, v24

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 671
    .end local v6    # "bbc":Lbean/AdvBean;
    .end local v15    # "imageLoader":LPlugclass/ImageLoader;
    :goto_7
    add-int/lit8 v14, v14, 0x1

    goto/16 :goto_2

    .line 691
    .restart local v6    # "bbc":Lbean/AdvBean;
    .restart local v15    # "imageLoader":LPlugclass/ImageLoader;
    :cond_c
    invoke-virtual {v6}, Lbean/AdvBean;->GetImg()Ljava/lang/String;

    move-result-object v29

    if-eqz v29, :cond_b

    .line 692
    move-object/from16 v0, v26

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_6

    .line 726
    .end local v6    # "bbc":Lbean/AdvBean;
    .end local v15    # "imageLoader":LPlugclass/ImageLoader;
    .end local v16    # "imageView1":Landroid/widget/ImageView;
    .end local v25    # "textView1":Landroid/widget/TextView;
    :cond_d
    const v29, 0x7f0c0013

    move-object/from16 v0, v24

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v25

    .line 725
    check-cast v25, Landroid/widget/TextView;

    .line 727
    .restart local v25    # "textView1":Landroid/widget/TextView;
    const/16 v29, 0x8

    move-object/from16 v0, v25

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 729
    const v29, 0x7f0c000a

    move-object/from16 v0, v24

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v16

    .line 728
    check-cast v16, Landroid/widget/ImageView;

    .line 730
    .restart local v16    # "imageView1":Landroid/widget/ImageView;
    const/16 v29, 0x8

    move-object/from16 v0, v16

    move/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 731
    const/16 v29, 0x3

    move/from16 v0, v29

    if-le v14, v0, :cond_e

    .line 732
    move-object/from16 v0, v27

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_7

    .line 734
    :cond_e
    move-object/from16 v0, v26

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_7

    .line 753
    .restart local v8    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    .restart local v22    # "resources":Landroid/content/res/Resources;
    :cond_f
    move-object/from16 v0, v26

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_3

    .line 790
    .restart local v9    # "c":I
    .restart local v10    # "check2count":I
    .restart local v12    # "checkt1count":I
    .restart local v20    # "moduletop2":Landroid/widget/LinearLayout;
    .restart local v21    # "moduletop3":Landroid/widget/LinearLayout;
    :cond_10
    :try_start_4
    new-instance v19, Lbean/ModleBean2;

    invoke-direct/range {v19 .. v19}, Lbean/ModleBean2;-><init>()V

    .line 791
    .local v19, "md":Lbean/ModleBean2;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "name"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v11

    .line 792
    .local v11, "checkdd":Ljava/lang/String;
    const-string v29, "name>>>>>>>>>>>>>>>>>>>>>>>>>"

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v31, v0

    const-string v32, "name"

    invoke-interface/range {v31 .. v32}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v31

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v30

    invoke-static/range {v29 .. v30}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 793
    new-instance v28, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v29, v0

    invoke-direct/range {v28 .. v29}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 794
    .local v28, "view":Landroid/widget/ImageView;
    new-instance v15, LPlugclass/ImageLoader;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mcontext:Landroid/content/Context;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    invoke-direct {v15, v0}, LPlugclass/ImageLoader;-><init>(Landroid/content/Context;)V

    .line 795
    .restart local v15    # "imageLoader":LPlugclass/ImageLoader;
    const/16 v29, 0x1

    move/from16 v0, v29

    invoke-virtual {v15, v0}, LPlugclass/ImageLoader;->Yasuo(Z)V

    .line 796
    new-instance v29, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v30, v0

    invoke-virtual/range {v30 .. v30}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v30

    invoke-static/range {v30 .. v30}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v30

    invoke-direct/range {v29 .. v30}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v31, v0

    const-string v32, "img"

    invoke-interface/range {v31 .. v32}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v31

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v30

    invoke-virtual/range {v29 .. v30}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v29

    invoke-virtual/range {v29 .. v29}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v29

    move-object/from16 v1, v28

    invoke-virtual {v15, v0, v1}, LPlugclass/ImageLoader;->DisplayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 797
    const-string v29, "img"

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v31, v0

    const-string v32, "img"

    invoke-interface/range {v31 .. v32}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v31

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v30

    invoke-static/range {v29 .. v30}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 798
    sget-object v29, Landroid/widget/ImageView$ScaleType;->CENTER_CROP:Landroid/widget/ImageView$ScaleType;

    invoke-virtual/range {v28 .. v29}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 800
    move-object/from16 v0, v28

    invoke-virtual {v0, v9}, Landroid/widget/ImageView;->setId(I)V

    .line 801
    const-string v29, "gift"

    move-object/from16 v0, v29

    invoke-virtual {v11, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v29

    if-nez v29, :cond_11

    const-string v29, "collect"

    move-object/from16 v0, v29

    invoke-virtual {v11, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v29

    if-nez v29, :cond_11

    .line 802
    const-string v29, "newuser"

    move-object/from16 v0, v29

    invoke-virtual {v11, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v29

    if-eqz v29, :cond_12

    .line 804
    :cond_11
    add-int/lit8 v12, v12, 0x1

    .line 815
    :goto_8
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "cx_type"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v19

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Lbean/ModleBean2;->setCx_type(Ljava/lang/String;)V

    .line 816
    new-instance v29, Lcom/example/m6wmr/MainActivity$10;

    move-object/from16 v0, v29

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6wmr/MainActivity$10;-><init>(Lcom/example/m6wmr/MainActivity;)V

    invoke-virtual/range {v28 .. v29}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 835
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "name"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v19

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Lbean/ModleBean2;->setName(Ljava/lang/String;)V

    .line 836
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "id"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v19

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Lbean/ModleBean2;->setId(Ljava/lang/String;)V

    .line 837
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    const-string v31, "img"

    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v30

    invoke-interface/range {v29 .. v30}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v29

    move-object/from16 v0, v19

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Lbean/ModleBean2;->setImg(Ljava/lang/String;)V

    .line 840
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mdls2:Ljava/util/List;

    move-object/from16 v29, v0

    move-object/from16 v0, v29

    move-object/from16 v1, v19

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 842
    add-int/lit8 v9, v9, 0x1

    .line 843
    const-string v29, "Marinactivity"

    const-string v30, "\u8f6c\u6362------\u6570\u636e"

    invoke-static/range {v29 .. v30}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    goto/16 :goto_4

    .line 846
    .end local v11    # "checkdd":Ljava/lang/String;
    .end local v15    # "imageLoader":LPlugclass/ImageLoader;
    .end local v19    # "md":Lbean/ModleBean2;
    .end local v28    # "view":Landroid/widget/ImageView;
    :catch_1
    move-exception v13

    .line 847
    .restart local v13    # "e":Ljava/lang/Exception;
    :try_start_5
    invoke-virtual {v13}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_1

    .line 849
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    if-eqz v29, :cond_5

    .line 850
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v29, v0

    invoke-interface/range {v29 .. v29}, Landroid/database/Cursor;->close()V

    goto/16 :goto_5

    .line 806
    .end local v13    # "e":Ljava/lang/Exception;
    .restart local v11    # "checkdd":Ljava/lang/String;
    .restart local v15    # "imageLoader":LPlugclass/ImageLoader;
    .restart local v19    # "md":Lbean/ModleBean2;
    .restart local v28    # "view":Landroid/widget/ImageView;
    :cond_12
    const/16 v29, 0x1

    move/from16 v0, v29

    if-le v10, v0, :cond_13

    .line 808
    :try_start_6
    move-object/from16 v0, v21

    move-object/from16 v1, v28

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 812
    :goto_9
    add-int/lit8 v10, v10, 0x1

    goto/16 :goto_8

    .line 810
    :cond_13
    move-object/from16 v0, v20

    move-object/from16 v1, v28

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_1
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    goto :goto_9

    .line 848
    .end local v11    # "checkdd":Ljava/lang/String;
    .end local v15    # "imageLoader":LPlugclass/ImageLoader;
    .end local v19    # "md":Lbean/ModleBean2;
    .end local v28    # "view":Landroid/widget/ImageView;
    :catchall_1
    move-exception v29

    .line 849
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    if-eqz v30, :cond_14

    .line 850
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->cursor:Landroid/database/Cursor;

    move-object/from16 v30, v0

    invoke-interface/range {v30 .. v30}, Landroid/database/Cursor;->close()V

    .line 852
    :cond_14
    throw v29
.end method
